﻿using System.ComponentModel.DataAnnotations;

namespace LowCoding.Dto.Sys
{
    /// <summary>
    /// 用户列名表--输入参数
    /// </summary>
    public class SysUserColumnInput
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 模块ID
        /// </summary>
        [Required(ErrorMessage = "模块ID不能为空")]
        public string MdlId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public string UsrId { get; set; }

        /// <summary>
        /// 列表代码
        /// </summary>
        [Required(ErrorMessage = "列表代码不能为空")]
        public string TableCode { get; set; }

        /// <summary>
        /// 列名json内容集合
        /// </summary>
        [Required(ErrorMessage = "列名内容不能为空")]
        public string SucJson { get; set; }
    }
}
